package com.itheima.pay;

import java.util.Scanner;

public class pay
{
    public  void pay(Card c1)
    {
        System.out.println("请输入支付金额");
        Scanner sc = new Scanner(System.in);
        double money = sc.nextDouble();
        c1.pay(money);
    }
}
